import fetch from '@/utils/fetch';


// 说明：导出 消防栓压力(等)日报表
// 接口：api/schedule/flHydrantReportRecord
// 请求类型：Post
export function exprotXlsPressureDay(ids, obj) {
    console.log(obj)
    debugger;
    return fetch({
        url: 'api/schedule/flHydrantReportRecord/getHydrantPressureDayReportExprot',
        responseType: 'blob',
        method: 'post',
        data: obj
    })
}

// 说明：导出 消防栓压力(等)月报表
// 接口：api/schedule/flHydrantReportRecord
// 请求类型：Post
export function exprotXlsPressureMonth(ids, obj) {
    return fetch({
        url: 'api/schedule/flHydrantReportRecord/getHydrantPressureMonthReportExport',
        responseType: 'blob',
        method: 'post',
        data: obj
    })
}

// 说明：导出 消防栓压力(等)年报表
// 接口：api/schedule/flHydrantReportRecord
// 请求类型：Post
export function exprotXlsPressureYear(ids, obj) {
    return fetch({
        url: 'api/schedule/flHydrantReportRecord/getHydrantPressureYearReportExport',
        responseType: 'blob',
        method: 'post',
        data: obj
    })
}

// 说明：导出 消防栓水量日报表
// 接口：api/schedule/flHydrantReportRecord
// 请求类型：Post
export function exprotXlsWaterDay(ids, obj) {
    return fetch({
        url: 'api/schedule/flHydrantReportRecord/findHydrantWaterListDayExprot',
        responseType: 'blob',
        method: 'post',
        data: obj
    })
}

// 说明：导出 消防栓水量月报表
// 接口：api/schedule/flHydrantReportRecord
// 请求类型：Post
export function exprotXlsWaterMonth(ids, obj) {
    return fetch({
        url: 'api/schedule/flHydrantReportRecord/findHydrantWaterListMonthExprot',
        responseType: 'blob',
        method: 'post',
        data: obj
    })
}

// 说明：导出 消防栓水量年报表
// 接口：api/schedule/flHydrantReportRecord
// 请求类型：Post
export function exprotXlsWaterYear(ids, obj) {
    return fetch({
        url: 'api/schedule/flHydrantReportRecord/findHydrantWaterListYearExprot',
        responseType: 'blob',
        method: 'post',
        data: obj
    })
}